<?php
$con = mysql_connect("localhost","root","135217");
if (!$con)
{
    errorHandle($dberror);
    return;
}

mysql_query("set names 'utf8'");

mysql_select_db("weibofans", $con);
?>
